package com.katze.boot.system.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.katze.boot.system.domain.User;
import com.katze.boot.system.domain.UserRole;

import java.util.List;
import java.util.function.Function;

public interface UserRoleService extends IService<UserRole> {

	void save(User user);

	Function<Function<String, User>, String> resetUserRoles(User user);

	void deleteUserRolesByRoleId(Object[] roleIds);

	List<String> findUsernameByRoleId(Object[] roleIds);
}
